package com.heima.wemedia.pojos;


import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Document("ap_comment")
@Data
public class Comment {
    //评论id
    private Long id;
    //评论作者id
    private Integer authorId;
    //评论作者名称
    private String authorName;
    //文章或者什么的id
    private Long entryId;
    //类型
    private Integer type;
    //评论内容
    private String content;
    //点赞
    private Integer likes;
    //回复
    private Integer reply;
    //flag暂时不知道是什么玩意
    private Integer flag;
    //creattime
    private Date createdTime;
}